You'll need a phono preamp and a way to control the signal level going into the A/D converter. Then you'll need a digital pathway into the iMac. Run the declick program and then normalize (leave -.5dB headroom).
If you're only doing a few records a simple device such as this might be a better option.
If you're only doing a few records a simple device such as this might be a better option.