US president Donald Trump is to appeal the “flawed” court ruling which blocked his revised travel ban on certain Muslim-majority countries.

Confirmation of the planned appeal came from White House spokesman Sean Spicer.

The new travel ban, which was due to be enforced from yesterday, was blocked by a federal judge in Hawaii.

Several other US states supported measures to prevent the travel ban being enforced on people from six mainly Muslin nations.

Lawyers had argued that the ban would violate the US constitution by discriminating against people on the grounds of their national origin.

Hawaii also warned that the ban would harm tourism and the ability to recruit foreign students and workers.

An earlier version of the executive order, issued in late January, led to confusion and protests at airports, and was blocked by a judge in Seattle.

Under the revised order, citizens of six countries on the original January 27 order – Iran, Libya, Syria, Somalia, Sudan and Yemen – would once more be subject to a 90-day travel ban.

Iraq was removed from the list because its government boosted visa screening and data sharing.