It's not the combination with whomever that determines the choice whoever/whomever . It's the combination whoever the next president will be that determines the choice. The linking verb be (as in will be ) does not take a direct object ( whom ); it takes a subject complement ( who ).
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.