Searching for title of comedy film

What is name of a comedy film about a group of men who attend church each Sunday to get their numbers for weekly pools ticket from the hymn board. The film is not Waking Ned Devine which has an Irish setting and the end of the film shows the vicar of church who is anti gambling shaking hands with one of the men and the building fund thermometer on church noticeboard suddenly overflowing Rev Bazza