Zooey Deschanel has been cast in 'The Driftless Area'.

The 'New Girl' star will play an ''enigmatic woman'' in co-writer and director Zachary Sluser's dark comedy for Unified Pictures and Bron Studios.

The screenplay is being adapted from Tom Drury's novel of the same name by the author and Sluser.

Deschanel is due to be joined by Anton Yelchin, John Hawkes, Ciaran Hinds and Alia Shawkat in the movie, which tells the story of a resourceful bartender (Yelchin) who moves back to his hometown following the death of his parents, falls for Deschanel's character and is unwittingly pitted against a crook (Hawkes).

According to The Wrap, Sluser said: ''It is a great joy to be able to bring Tom Drury's hauntingly beautiful story to life with such profoundly talented actors, all of whom have inspired me for years.''

Filming begins May 14 in Vancouver, Canada, with Keith Kjarval and Aaron L. Gilbert acting as producers and Nicole Romano as executive producer.

Kjarval commented: ''We are quite excited about making this film as it is so darkly humorous and wrought with atmosphere and frankly, I am excited to be telling such a delicious story with some of my favorite actors.''

Deschanel will next be seen in Barry Levinson's all-star comedy 'Rock The Casbah', alongside Bill Murray, Bruce Willis, Kate Hudson and Danny McBride.

Troubled actor Shia LaBeouf pulled out of the project last month, and has reportedly been replaced by Scott Caan in the tale of a has-been rock manager's musical misadventures in Afghanistan.