Similarly than with globalplatform-package, some changes are needed for configure for package to build:
On depends, change openssl to openssl-1.0
On build-section, change ./configure line to:
CFLAGS="-I/usr/include/openssl-1.0" LDFLAGS="-L/usr/lib/openssl-1.0" LIBS="-lssl -lcrypto" ./configure --prefix=/usr --sysconfdir=/etc
