The Good, the Bad, and Huckleberry Hound (1988)
Its the gold rush era in the Wild West A mysterious stranger Huckleberry Hound arrives in a small desert town carrying a huge golden nugget The notorious Dalton brothers steal it The town asks the stranger to go after them