# Template file for 'bochs'
pkgname=bochs
version=2.6.11
revision=1
build_style=gnu-configure
configure_args="--enable-debugger --enable-disasm --disable-readline"
hostmakedepends="pkg-config"
makedepends="libX11-devel libXrandr-devel gtk+-devel"
short_desc="Highly portable open source IA-32 (x86) PC emulator"
maintainer="mid-kid <esteve.varela@gmail.com>"
license="LGPL-2.1-only"
homepage="http://bochs.sourceforge.net/"
distfiles="$SOURCEFORGE_SITE/bochs/bochs-${version}.tar.gz"
checksum=63897b41fbbbdfb1c492d3c4dee1edb4224282a07bbdf442a4a68c19bcc18862

pre_build() {
	vsed -i 's/^LIBS = /LIBS = -lpthread/g' Makefile
}
