The New York Mets have agreed to a two-year, $17 million deal with Todd Frazier, according to a source.

The deal is pending a physical.

Frazier played under a one-year, $12 million deal last season. He signed it with the Chicago White Sox and was then traded to the New York Yankees.