Switched from git to tarball. There seems to be no activity since release 4.0. Removed unneeded patches. Added a library package since it seems to be required now. Signed-off-by: Rosen Penev <rosenp@gmail.com>