If he's still pitching well at the trade deadline, I wouldn't be against keeping him at a reasonable cost.
There's a significant chance, however, that he'd be having a career year. If some team would overpay in quality AA -AAA prospects it would probably be the soundest approach for a small market team interested in long term success - get one or two guys who could have 5+ low cost, high production, years and preserve your resources for an occassional key FA.