LeBron James has agreed to sign a two-year deal w/ Cavaliers worth $47M

The second year of the contract is a player option, sources said.

The deal follows James' plan to keep year-to-year flexibility to take advantage of expected increases in the salary cap.

James, who has been on vacation over the last week, didn't talk to any other teams and always intended to re-sign with the Cavs.