Non-Maxwellian electron distributions in clusters of galaxies