Eventually, you need to take some estrogen to avoid negative side-effects from having low androgen like low energy, depression, osteoporosis, cognitive impairment, accelerated ageing, hot flashes, etc.
On Spiro, leg cramps mean you're not drinking enough water and/or eating enough salt to compensate for the loss through this drug or that you are taking in too much potassium or too many diuretics in your diet.
Stay away from high potassium stuff, eat salty as much as you want, drink plain water when you're thirsty and moderate intake of diuretics, caffeine, tea, etc. Avoid mineral water, energy drinks, sodas, fruits juices, salt SUBSTITUTES and...be sure you are not taking supplements that contain lots of potassium.