COMMENT =         Official Monero cryptocurrency full node and CLI wallet

DISTNAME =        monero-0.18.4.3

CATEGORIES =      net

HOMEPAGE =        https://www.getmonero.org/

MAINTAINER =      Andrew Kloet <andrew@kloet.net>

PERMIT_PACKAGE =  Yes

GH_ACCOUNT =      monero-project
GH_PROJECT =      monero
GH_TAGNAME =      v0.18.4.3
DIST_TUPLE =      github miniupnp miniupnp miniupnpc_2_2_1 external/miniupnp \
		  github Tencent rapidjson 129d19ba7f496df5e33658527a7158c79b99c21c external/rapidjson \
		  github trezor trezor-common bff7fdfe436c727982cc553bdfb29a9021b423b0 external/trezor-common \
		  github tevador RandomX v1.2.1 external/randomx \
		  github monero-project supercop 633500ad8c8759995049ccd022107d1fa8a1bbc9 external/supercop

MODULES =         devel/cmake

COMPILER=base-clang ports-gcc

LIB_DEPENDS =     devel/boost \
                  net/zeromq \
		  net/libunbound

WANTLIB += 	  ${COMPILER_LIBCXX} boost_chrono-mt boost_date_time-mt \
            	  boost_filesystem-mt boost_locale-mt boost_program_options-mt \
           	  boost_serialization-mt boost_thread-mt c crypto execinfo \
            	  m readline sodium ssl unbound zmq

CONFIGURE_ARGS += -DCMAKE_BUILD_TYPE=Release
CONFIGURE_STYLE = cmake

NO_TEST = 	  YES

.include <bsd.port.mk>
