I donated a non-working truck to a charity. They pulled the working engine & put it in one of their vehicles. Since they didn't sell it, how do I deduct this donation?

The engine was placed in a charity vehicle, not a personal one.