Netflix has acquired Richard Linklater’s “Hit Man,” starring Glen Powell, for $20 million, making the purchase the biggest deal of Toronto International Film Festival.

The film “Hit Man,” co-written by Linklater and Powell, features the “Top Gun: Maverick” actor as a psychology professor in New Orleans. He also works undercover as a hit man for the police, participating in sting operations to apprehend potential murderers. This comedic and existential take on the hit-man genre was a notable success at TIFF, which ended on Sunday.

Netflix has not yet announced release plans for “Hit Man,” which was also screened at the Venice Film Festival. The movie, loosely inspired by a true story depicted in a Texas Monthly article written by Skip Hollandsworth in 2001, revolves around a wife, portrayed by Adria Arjona, who desires her husband’s demise.

The territories included in the deal are the US, UK, Australia, New Zealand, India, South Korea, Hong Kong, Malaysia, Vietnam, Indonesia, Singapore, Philippines, and Iceland. The film was shot in New Orleans, Louisiana.

The cast also includes Austin Amelio, Retta, and Molly Bernard. The executive producers are Stuart Ford, Zach Garrett, Miguel A. Palos Jr., John Sloss, Shivani Rawat, Julie Goldstein, Vicky Patel, Steve Barnett, Alan Powell, Scott Brown, Megan Creydt.

The producers of the film are Mike Blizzard, Richard Linklater, Glen Powell, Jason Bateman, and Michael Costigan.