package:
  name: gnuplot
  version: 5.0.3

build:
  number: 1

source:
  url: https://sourceforge.net/projects/gnuplot/files/gnuplot/5.0.3/gnuplot-5.0.3.tar.gz
  fn: gnuplot-5.0.3.tar.gz
  sha256: 5f6ee35f3f22014058e999911934bfa9db28e02a2722a7001c192cd182b8c715

requirements:
  build:
    - gcc [not osx]
    - libgcc [not osx]
    - llvm [osx]
    - pkg-config [osx]
    - libgd *.bioconda
  run:
    - libgcc [not osx]
    - libgd *.bioconda

about:
  home: https://github.com/gnuplot/gnuplot
  license: Gnuplot License + others
  summary: Gnuplot, plotting from command line

test:
  files:
    - test-data.txt
  commands:
    - gnuplot -e "set terminal dumb; set style histogram; p 'test-data.txt'"
    - gnuplot -e "set terminal png"
