PORTNAME=	ox
DISTVERSION=	0.7.7
PORTREVISION=	10
CATEGORIES=	editors
PKGNAMESUFFIX=	-text-editor

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Independent Rust text editor that runs in your terminal
WWW=		https://github.com/curlpipe/ox/

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

BROKEN_armv7=	compilation fails, see https://github.com/zhiburt/ptyprocess/issues/17
BROKEN_i386=	compilation fails, see https://github.com/zhiburt/ptyprocess/issues/17
BROKEN_powerpc=	compilation fails, see https://github.com/zhiburt/ptyprocess/issues/17

USES=		cargo

USE_GITHUB=	yes
GH_ACCOUNT=	curlpipe

PLIST_FILES=	bin/${PORTNAME}

.include <bsd.port.mk>
