You may be thinking of Ice Climber — though that was a Nintendo title rather than a computer game in the original release.
The premise fits exactly: you scale a mountain of ice, hopping between platforms and bashing enemies with a hammer. If you want it on a PC, the usual route is a Nintendo emulator, which lets you run the original ROM on your computer.