# $FreeBSD: tags/RELEASE_11_1_0/net-p2p/bitcoin-daemon/Makefile 444251 2017-06-25 00:29:09Z linimon $

MASTERDIR=	${.CURDIR}/../bitcoin
PORTREVISION=	6
PKGNAMESUFFIX=	-daemon

COMMENT=	Virtual Peer-to-Peer Currency (Daemon)

SLAVE_PORT=	yes

ONLY_FOR_ARCHS=		amd64 i386
ONLY_FOR_ARCHS_REASON=	does not support big-endian architectures

OPTIONS_DEFINE=		DEBUG HARDENING TESTS UPNP WALLET ZMQ
OPTIONS_DEFAULT=	HARDENING UPNP WALLET

CONFIGURE_ARGS=	--with-daemon \
		--without-gui \
		--without-libs \
		--without-qrencode \
		--without-utils

PLIST_FILES=	bin/bitcoind

USE_RC_SUBR=	bitcoind

.include "${MASTERDIR}/Makefile"
