Zach Galifianakis is in talks to star in the coming-of-age dramedy It's Kind of a Funny Story from Half Nelson writer-directors Ryan Fleck and Anna Boden, according to The Hollywood Reporter.

Emma Roberts is in talks to star in the film, which is based on Ned Vizzini's young-adult novel and tells of a teenage boy who, after a bout of depression, is sent to a mental institution, where he ends up in the adult ward and meets a number of offbeat adults as well as a quirky teenage girl.

Galifianakis would play one of the main adult roles, while Roberts would star as the teenage love interest.

A shoot date this year is planned.