Gidday,
The clicking indicates that the wiring is fine. The clicking sound is the solenoid engaging or attempting to engage the primary drive of the starter.
I would be looking at the starter motor itself, is the drive gear in the nose moving forward when power is applied to the solenoid ?.
Try the following.
1. Apply +12V direct to starter, does the motor turn over, if yes solenoid is suspect, if no starter is suspect.
Let us know what happens.
Cheers