Jared Leto is set to star as eccentric pop art icon Andy Warhol in an upcoming biopic.