Amanda Seyfried is set to star in Universal Pictures’ comedy “He’s F-ing Perfect.”

Will Ferrell, Adam McKay and Kevin Messick are producing through their Gary Sanchez Productions banner along with Good Universe. Jake Szymanski is directing.

Story follows an Internet-savvy woman who convinces her friend to dump her new boyfriend so she can date him instead. Lauryn Kahn penned the script.

Universal acquired the project from Kahn out of turnaround at Fox 2000. The project was originally picked up by Fox 2000 in October 2011.

Seyfried, who is repped by Innovative Artists, was last seen in Millennium’s “Big Wedding” and can be seen next in Universal’s “A Million Ways to Die in the West.”