{% set name = "FastTree" %}
{% set version = "2.1.11" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: "http://meta.microbesonline.org/{{ name|lower }}/{{ name }}-{{ version }}.c"
  sha256: "9026ae550307374be92913d3098f8d44187d30bea07902b9dcbfb123eaa2050f"

build:
  number: 2

requirements:
  build:
    - {{ compiler('c') }}
    - llvm-openmp  # [osx]
    - libgomp      # [linux]
  host:
  run:

test:
  commands:
    - fasttree -help
    - FastTree -help
    - FastTreeMP -help

about:
  home: http://www.microbesonline.org/fasttree/
  license: "GPL-2"
  license_family: GPL
  summary: "FastTree infers approximately-maximum-likelihood phylogenetic trees from alignments of nucleotide or protein sequences"

extra:
  identifiers:
    - biotools:fasttree
    - doi:10.1093/molbev/msp077
