Endeavour Silver struck a $145 million deal to buy its third producing mine, its first foray into Peru and a big step toward its goal of becoming a major silver miner.