A phenomenological quark matter equation of state