# Template file for 'connman-ncurses'
pkgname=connman-ncurses
version=1.0
revision=3
build_style=gnu-configure
hostmakedepends="automake autoconf pkg-config json-c-devel ncurses-devel dbus-devel"
makedepends="json-c-devel ncurses-devel dbus-devel"
depends="dbus connman"
short_desc="Simple ncurses-based UI for ConnMan"
maintainer="Sergei Akhmatdinov <sakhmatd@riseup.net>"
license="GPL-2"
homepage="https://github.com/eurogiciel-oss/connman-json-client"
distfiles="https://github.com/eurogiciel-oss/connman-json-client/archive/v${version}.tar.gz"
wrksrc="connman-json-client-${version}"
checksum=724604787b51cd3bd2ba5d2291f5f2efe0558a1ec78d92d3c92ebc78f6c63219

pre_configure() {
	mkdir -p m4
	autoreconf -fi
}

do_install() {
	vbin connman_ncurses connman-ncurses
}

