Ice Cube performs at the Bonnaroo Music & Arts Festival on June 13, 2014 in Manchester, Tennessee

Ice Cube performs at the Bonnaroo Music & Arts Festival on June 13, 2014 in Manchester, Tennessee

*MGM and New Line have teamed to acquire a film pitch about a white guy who thinks in the voice of Ice Cube.

“Black-ish” creator/EP Kenya Barris and “The Goldbergs” exec producer Alex Barnow came up with the idea and will write the script, according to Deadline.com.

A big part of this deal was the participation of Cube, who’ll produce through his Cube Vision banner alongside Prospect Park’s Jeff Kwatinetz and Principato Young. Barris will be exec producer.

The pitch made the rounds under the title “White Boy Problems,” but that’s likely to change, according to Deadline.

The story follows a hapless white guy – repeatedly belittled by everyone from his girlfriend to his co-workers – who wakes up after an accident, and the voice inside his head is Ice Cube….the NWA-era Ice Cube, who’s not happy about what this guy has let happen to him. Driven by that voice, he begins to develop confidence to take back his life.

The device has been used in movies before — Humphrey Bogart advising Woody Allen in “Play It Again Sam,” and Elvis Presley mentoring Christian Bale in “True Romance.”

The film will be co-financed by New Line and MGM, and the former will distribute. The two companies just got together on Barbershop 3, which stars and is produced by Cube. Barris wrote that script with Tracy Oliver.