# Template file for 'luasec'
pkgname=luasec
version=0.5
revision=3
wrksrc=${pkgname}-${pkgname}-${version}
build_style=gnu-makefile
makedepends="lua51-devel libressl-devel"
depends="lua51"
short_desc="Lua binding for OpenSSL library to provide TLS/SSL communication"
maintainer="Duncaen <mail@duncano.de>"
license="MIT"
homepage="https://github.com/brunoos/luasec"
distfiles="https://github.com/brunoos/luasec/archive/${pkgname}-${version}.tar.gz"
checksum=6480598f7492ac479b6b608b5fb1488226bfa6ef675e29f6b24dbe9099083523

do_build() {
	make linux CC=$CC LD=$CC INC_PATH=-I${XBPS_CROSS_BASE}/usr/include LIB_PATH=-L${XBPS_CROSS_BASE}/usr/lib
}
