Maybe even something as simple as "each +1 to AC gained by armor gives you a 10% chance of spell failure". Maybe light armor proficiency reduces it by 20%, medium by 40%, and heavy by 60%. Hey if a wizard wants to burn 3feats to wear chain mail, why not.