The Sundance hit that triggered a world rights deal with Fox Searchlight and Indian Paintbrush will open on July 1.

Alfonso Gomez-Rejon directed Me And Earl And The Dying Girl from Jesse Andrews’ Black List screenplay adapted from his eponymous novel.

Thomas Mann and Olivia Cooke star in the tale of a high school student who reignites an old friendship with a girl who has been diagnosed with cancer.

Searchlight is understood to have invested mid-seven figures in the film at the end of a frantic bidding war after the Park City world premiere in January.

Sales agent WME Global and film-maker representatives Indian Paintbrush resisted offers of up to $10m from a pack of studio and ‘big indie’ buyers, with one studio reportedly willing to go higher than $12m in what would have resulted in a record Sundance advance.