Let $f:\mathbb{R}\to \mathbb{R}$ be in $L^1$, with its Fourier transform $\widehat{f}$ also in $L^1$. What is a necessary and sufficient condition on $f$ so that $$\int_{-\infty}^x \widehat{f}(t) dt \geq 0$$ holds for every $x$?
Assume, if it helps, that $f$ is even, continuous and of compact support, with $f(0)=1$.