# Features:
option('notifications',
  type: 'feature',
  value: 'disabled',
  description: 'Enable desktop notifications'
)

option('plugins',
  type: 'feature',
  value: 'auto',
  description: 'Enable Lua plugin support'
)

option('lua-version',
  type: 'string',
  value: '',
  description: 'Specify exact Lua pkg-config package (e.g. lua5.4, lua-5.4, lua, luajit). If empty, auto-detect.'
)

option('otr',
  type: 'feature',
  value: 'disabled',
  description: 'Enable OTR encryption'
)

option('pgp',
  type: 'feature',
  value: 'disabled',
  description: 'Enable PGP'
)

option('omemo',
  type: 'feature',
  value: 'disabled',
  description: 'Enable OMEMO encryption'
)

option('omemo-backend',
  type: 'combo',
  choices: ['libsignal', 'libomemo-c'],
  value: 'libsignal',
  description: 'Select OMEMO backend library'
)

option('tray',
  type: 'feature',
  value: 'disabled',
  description: 'Enable Tray (StatusNotifierItem)'
)

option('gdk-pixbuf',
  type: 'feature',
  value: 'disabled',
  description: 'Enable GDK Pixbuf support to scale avatars before uploading'
)

option('omemo-qrcode',
  type: 'feature',
  value: 'disabled',
  description: 'Enable ability to display OMEMO QR code'
)

option('spellcheck',
  type: 'feature',
  value: 'disabled',
  description: 'Enable spellchecking support'
)

# Other:
option('tests',
  type: 'boolean',
  value: false,
  description: 'Build tests'
)

option('install_themes',
  type: 'boolean',
  value: true,
  description: 'Install themes'
)

option('themes_path',
  type: 'string',
  value: '',
  description: 'Custom path for themes installation (empty for default)'
)

option('install_desktop',
  type: 'boolean',
  value: false,
  description: 'Install desktop file'
)

option('docdir',
  type: 'string',
  value: '',
  description: 'Custom path for documentation installation (empty for default)'
)
