While taxpayers may be getting used to seeing federal agencies fritter away their money, there’s something ironic about the IRS doing it.

The tax-collecting agency is under fire over a training video from a 2010 conference that parodied “Star Trek” — and cost tens of thousands of dollars to make.

The IRS now says the video was a mistake and wouldn’t be made today. But Republicans were steamed as they portrayed the tape as yet another example of the government wasting tax dollars at a time of trillion-dollar deficits.

“There is nothing more infuriating to a taxpayer than to find out the government is using their hard-earned dollars in a way that is frivolous,” Rep. Charles Boustany, R-La., said. “The IRS admitted as much when it disclosed that it no longer produces such videos.”