add dependencies
add alternatives for build dependencies
add date to version number in debian package
only include compopt.h in compopt.c where it is used
fix package build