pensc: modified template file to tidy it up and added a configure flag

to make it more complete.

Regards

Carlo