Darren Aronofsky is on board to direct “Hobgoblin,” HBO’s upcoming drama pilot in development.

Pilot, to be written by Michael Chabon and his wife, Ayelet Waldman, is about a group of con men and magicians who use their skills of deception to help defeat Hitler and the Germans during WWII.

Since coming off his hit “Black Swan,” Aronofsky has taken his time deciding on his next project. He was originally set to direct Fox’s “The Wolverine,” the sequel to “X-Men Origins: Wolverine,” but dropped out citing time constraints.

Since then he had been weighing his options, which includes shopping the project “Noah” around around town — a film he envisions as a big-budget take on the Noah’s Ark story.

Chabon is a sought-after script doctor and the author of novels including “Wonder Boys,” which was adapted as a feature starring Michael Douglas in 2000. He and director Andrew Stanton adapted Edgar Rice Burroughs novel “John Carter of Mars” for Disney, with that pic set for release in March.

Waldman has penned fiction and nonfiction tomes, including “Bad Mother” and “Love and Other Impossible Pursuits,” the latter of which was adapted into the 2009 Natalie Portman starrer “The Other Woman.” She also writes periodically for the New York Times, Wall Street Journal and Washington Post.

Aronofsky, Chabon and Waldman will exec produce with John Lesher and Adam Kassan.

Aronofsky is repped by CAA.