The modular group algebras of $p$-groups of maximal class