Latin grammar question

In the Doctor Who episode "Tooth and Claw" there is a point where monks are chanting "Lupus deus est," which I believe is Latin for "the wolf is god."  However, I am not sure that this is grammatically correct.  Does anyone know if it is?  And if it isn't, what would be the grammatically correct form?

Thanks.