depends -sub CXX gcc        &&
depends  libice     &&
depends  libsm      &&
depends  libx11     &&
depends  libxau     &&
depends  libxcursor &&
depends  libxdmcp   &&
depends  libxft     &&
depends  libxt      &&
depends  perl       &&
depends  texlive    &&
depends  QT         &&

optional_depends  python                                      \
                  "--with-python"                             \
                  ""                                          \
                  "for importing old LyX files with lyx2lyx"  &&

optional_depends  hunspell                                    \
                  "--with-hunspell"                           \
                  "--without-hunspell"                        \
                  "for spell checker support through hunspell"  &&

optional_depends  aspell                                      \
                  "--with-aspell"                             \
                  "--without-aspell"                          \
                  "for spell checker support through aspell"  &&

optional_depends  enchant                                      \
                  "--with-enchant"                             \
                  "--without-enchant"                          \
                  "for spell checker support through enchant"  &&

optional_depends  aiksaurus                      \
                  "--with-aiksaurus"             \
                  "--without-aiksaurus"          \
                  "for the Aiksaurus thesaurus"  &&


#
# The following dependencies are all runtime dependencies.
#
suggest_depends  cvs "" ""                                               \
                  "for CVS revision control of files"                    &&
suggest_depends  rcs "" ""                                               \
                  "for RCS revision control of files"                    &&
suggest_depends  latex-xft-fonts  "" ""                                   \
                  "ttf fonts with math symbols - used at least by the QT frontend" &&
suggest_depends  POSTSCRIPT-INTERPRETER  "" ""                            \
                  "for Postscript and pdf formats support."              &&
# No, we really do not suggest that outdated insecure thing.
#suggest_depends  acroread  "" ""                                          \
#                  "for Acrobat Reader integration."                      &&
suggest_depends  docbook-utils  "" ""                                     \
                  "for tools using DocBook format."                      &&
suggest_depends  grace  "" ""                                             \
                  "for grace plotting tool integration."                 &&
suggest_depends  groff  "" ""                                             \
                  "for groff document formatting system support."        &&
suggest_depends  gv  "" ""                                                \
                  "for gv .ps and .pdf viewer."                          &&
suggest_depends  imagemagick  "" ""                                       \
                  "for integrated image manipulation with Image Magick." &&
suggest_depends  latex2html  "" ""                                        \
                  "for latex to html conversion support."                &&
suggest_depends  linuxdoc-tools  "" ""                                    \
                  "for LinuxDoc sgml format support."                    &&
suggest_depends  octave  "" ""                                            \
                  "for octave numerical computations support."           &&
suggest_depends  sgmltools-lite  "" ""                                    \
                  "for sgmltools integration."                           &&
suggest_depends  tgif  "" ""                                              \
                  "for figure drawing using tgif."                       &&
suggest_depends  tiff  "" ""                                              \
                  "for Tagg Image File Format support."                  &&
suggest_depends  transfig  "" ""                                          \
                  "for portable TeX graphics."                           &&
suggest_depends  wv  "" ""                                                \
                  "for Microsoft Word file format support."              &&
suggest_depends  xdvi  "" ""                                              \
                  "for dvi viewer integration."                          &&
suggest_depends  xpdf  "" ""                                              \
                  "for xpdf .pdf viewer integration."                    &&
suggest_depends  WEB-BROWSER  "" ""                                             \
                  "for html previewing."
