depends  pkgconfig                  &&
depends  expat  '--with-xml=expat'  &&

optional_depends  libx11                         \
                  '-with-x'                      \
                  '-without-x'                   \
                  'for X11 support'              &&

if is_depends_enabled dbus libx11; then
  depends libsm  &&
  depends libice
fi &&

optional_depends  doxygen                        \
                  '--enable-doxygen-docs'        \
                  '--disable-doxygen-docs'       \
                  'to build API documentation'   &&

optional_depends  xmlto                          \
                  '--enable-xml-docs'            \
                  '--disable-xml-docs'           \
                  'to build docs in XML format'
