config BR2_PACKAGE_SYNERGY
	bool "synergy"
	depends on BR2_PACKAGE_XORG7
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_USE_WCHAR
	depends on BR2_USE_MMU # fork()
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14
	select BR2_PACKAGE_XLIB_LIBX11
	select BR2_PACKAGE_XLIB_LIBXTST
	help
	  Synergy lets you easily share a single mouse and
	  keyboard between multiple computers with different
	  operating systems, each with its own display,
	  without special hardware.

	  https://github.com/symless/synergy-core/

comment "synergy needs a toolchain w/ C++, wchar, gcc >= 4.9"
	depends on BR2_PACKAGE_XORG7
	depends on BR2_USE_MMU
	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && \
		BR2_TOOLCHAIN_GCC_AT_LEAST_4_9)
