New Line and “San Andreas” producer Beau Flynn are developing a movie version of Jonathan Stokes’  upcoming book series “The Thrifty Time Traveler’s Guide.”

New Line and Flynn won the rights in an auction. Flynn will produce through his FlynnPictureCo banner, with Wendy Jacobson, Richard Brener and Andrea Johnston overseeing.

Viking acquired the book rights in March to Stokes’ series, in which a future time-travel agency puts together affordable vacation packages to history’s biggest events. The first books will span Ancient Egypt, the Roman Empire, the Middle Ages and WWII.

Several of Stokes’ scripts have been selected for the Black List — “Blood Mountain,” with Sergei Bodrov directing and Lawrence Bender producing; “Murders and Acquisitions,” which was set up at Warner Bros. with Seth Grahame-Smith and David Katzenberg producing; “Tchaikovsky’s Requiem,” which explores the composer’s seemingly unnatural death; and “Border Country.”

Stokes also wrote the screenplay for “El Gringo” and “King David” for Fox and producers Peter Chernin and Ridley Scott. He is repped by UTA, Writers House, manager Scott Carr of Management SGC and attorney Gregg Gellman.

The news was first reported by Deadline Hollywood.