Mechanism of action of indinavir is: