Tech billionaire and Dallas Mavs owner Mark Cuban didn't pull punches about President Donald Trump at South by Southwest Sunday.

In a speech about disruptive startups, Cuban said he agrees with some of Trump's conservative economic policies. "But in terms of him personally, he's the Zoolander president," he said, referring to the film starring Ben Stiller about a shallow and narcissistic male model.

Trump had a brief cameo in the film.

The tech billionaire and Shark Tank investor drew a packed crowd at the annual conference and festival, which brings thousands of attendees, tech startups, film stars and bands to Austin. It was hard to find an empty seat, even in a convention center room that fit more than 2,000 people. Cuban shared the stage with the founder and CEO of a startup that he invested in: Adam Lyons, founder and CEO of Austin.

The speech was full of zingers by Cuban, who's been a vocal critic of Trump. He said instead of getting a tech literate president, the U.S. got one who hasn't read a book in 30 years, doesn't know how to do a Google search and asks his assistant to print his emails.

Last month, Trump criticized Cuban on Twitter, saying that the Cuban was "not smart enough to run for president."

Cuban said he's bothered by the fact that people compare him to Trump but said he finds the president entertaining. "I love the guy because he's the only human being who trolls himself and doesn't know it," he said.

He said Trump does not understand technology and so he can't see how automation and artificial intelligence are changing the future of work and eliminating jobs, whether in farming or factories. "Whether it's me or somebody else, there's somebody who's going to have to run who looks forward instead of acts like it's 1975," he said.

Cuban and Lyons spoke about how startups, including The Zebra and Uber, have challenged and disrupted government regulations. Cuban recalled getting an email about the idea for Uber from co-founder and now-CEO Travis Kalanick. He said he doubted a startup could take on the taxi associations and transportation organizations in every city and every state -- and ultimately passed on the investment.

He called Kalanick a "jerk," but commended him for his willingness to "bust through doors."

"Where I saw regulation, he ignored it," Cuban said.

Cuban, who describes himself as a libertarian, challenged the audience to respond to Trump's victory by starting businesses that employ people in small towns across the U.S. He said Trump won because of people who live in places like Kentucky and West Virginia and worry about the economic future of themselves and their children.

He also advocated for universal health care and called it a right. He urged reform to the H-1B visa program, which he said is overused by some giant outsourcing companies and out of reach for some small tech companies. The visa program has become a popular recruiting tool for large tech companies and outsourcing firms, who use it to hire foreign workers.

"I'm a huge fan of H-1Bs, but I'm not a fan of hoarding of H-1Bs," he said. He said he'd like to limit the number of visas that one company can receive.

Cuban did not rule out a direct challenge to the Trump administration. "I've got a lot of time to decide and we'll see what happens," he said. But he said it's never been his dream to run for president or pursue politics.

Cuban says Trump called him and predicted that Cuban would run for president someday, too. "He said, 'Mark, you're probably going to run for this job someday because you and I, we're Bobbsey twins."