--- /dev/null
+config BR2_PACKAGE_MC
+ bool "mc"
+ depends on BR2_USE_WCHAR # libglib2
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
+ depends on BR2_USE_MMU # libglib2, slang
+ select BR2_PACKAGE_LIBGLIB2
+ # mc prefers slang, but can use ncurses too
+ select BR2_PACKAGE_SLANG if !BR2_PACKAGE_NCURSES
+ help
+ GNU Midnight Commander is a visual file manager, licensed under
+ GNU General Public License. It can use either SLang (preferred)
+ or ncurses for screen handling; if neither is enabled SLang
+ will be automatically chosen.
+
+ https://www.midnight-commander.org
+
+comment "mc needs a toolchain w/ threads, wchar"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
+ depends on BR2_USE_MMU